.current{
    background-color: #fff!important;
}
.box{
    position: relative;
    background-color: #f5f5f5;
}
.home-banner {
    position: relative;
}
.home-banner img {
    width: 1240px;
    height: 500px;
}
.circle{
    position: absolute;
    width: 100px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}
.circle li{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0,0,0,.2);
}
.home-category{
    position: absolute;
    width: 250px;
    height: 500px;
    top: 0;
    left: 0;
    background: rgba(0,0,0,.8);
}
.home-category .menu li{
    height: 55px;
    padding-left: 40px;
}
.home-category .menu li a{
    font-size: 14px;
    line-height: 55px;
    /* text-align: center; */
    color: #fff;
}
.home-category .menu li a:nth-child(1){
    font-size: 16px;
}

/* tab栏切换 */
.box .menu li:hover{
    background-color: #27ba98;
}
.box .home-tab{
    width: 990px;
    height: 500px;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #fff;
    display: none;
}
.box h4 {
    width: 960px;
    height: 82px;
    line-height: 82px;
    position: absolute;
    top: 0;
    right: 15px;
    font-size: 20px;
    font-weight: 400;
    color: #333;
}
.box h4 small {
    font-size: 16px;
    color: #666;
}
.box .tab{
    position: absolute;
    width: 960px;
    height: 405px;
    top: 70px;
    right: 15px;
}
.box .tab ul{
    display: flex;
    flex-flow: wrap;
    margin-left: 5px;
    width: 100%;
    height: 100%;
}
.box .tab ul li {
    align-items: center;
    width: 310px;
    height: 120px;
    margin-right: 10px;
    border: 1px solid #eee;
}
.box .tab ul li > div{
    width: 268px;
    height: 118px;
    margin-left: 40px;
    display: flex;
}
.box .tab ul li > div:hover {
    background-color: #e3f9f4;
}
.box .tab ul li img{
    width: 95px;
    height: 95px;
    margin-top: 10px;
    margin-left: 12px;
}
.box .tab ul li .info{
    margin:10px 10px;
    width: 153px;
    line-height: 24px;
    align-self: center;
}
.box .tab ul li .info .name {
    font-size: 16px;
    color: #666;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.box .tab ul li .info .desc{
    color: #999;
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.box .tab ul li .info .price{
    font-size: 22px;
    color: #CF4444;
}

.box .tab ul li .info .price i {
    font-size: 16px;
}

/* 内容 */
.content > div{
    height: 521px;
}
.content > div .head {
    position: relative;
    display: flex;
    height: 115px;
    padding: 40px 0;
    align-items: flex-end;
}
.content > div .head h3{
    font-size: 32px;
    font-weight: 400;
}
.content > div .head > div {
    display: flex;
}
.content > div .head span{
    font-size: 16px;
    color: #999;
    margin-left: 20px;
}
.content > div .head span:nth-child(2){
    position: absolute;
    right: 0;
}
.content > div .head span:nth-child(2):hover {
    color: #27ba98;
    cursor: pointer;
}
.content .good-list{
    display: flex;
    justify-content: space-between;
}
.content .good-list li {
    width: 306px;
    height: 406px;
    transition: all .5s;
}
.content .home-new .good-list li {
    background-color: #f0f9f4;
}
.good-list li img{
    width: 306px;
    height: 306px;
}
.good-list li p{
    font-size: 22px;
    padding: 12px 30px 0;
    text-align: center;
}
.good-list li .name {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.good-list li .price {
    color: #cf4444;
    text-align: center;
}
.home-hot .good-list li .desc {
    color: #999;
}
.good-list li:hover {
    transform: translateY(-5px);
    box-shadow: 1px 5px 5px #ccc;
    
}
.good-list img,
.home-hot img {
    cursor: pointer;
}
